package com.app.user.controller;

import com.app.user.domain.LoginRequest;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginController {

    @PostMapping("/api/login")
    public String login(@RequestBody LoginRequest request) {
        System.out.println("login run..." + request);
        return "登录成功";
    }
}
